// 定义路由

const router = require('koa-router')();
const controller = require('../controllers/user')

router.post('/user/register', controller.createUser)
router.post('/user/login', controller.login)
router.get('/user/find', controller.find)
router.get('/user/findAll', controller.findAll)
router.get('/user/max', controller.max)

module.exports = router